package fr.afcepf.atod.gestionVP.services;

import java.util.Collection;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import fr.afcepf.atod.gestionVP.dao.IDaoEmploye;
import fr.afcepf.atod.gestionVP.data.Employe;


@Service("serviceEmploye")  
@Transactional(rollbackFor=ExceptionGeneral.class) 
public class ServiceEmploye implements  IServiceEmploye{

	@Autowired
	IDaoEmploye employeDao;
	
	public void creerEmploye(Employe nf) {
		// TODO Auto-generated method stub
	}

	public void supprimerEmploye(int id) {
		// TODO Auto-generated method stub
	}

	public void majEmploye(Employe nf) {
		// TODO Auto-generated method stub
	}

	public Collection<Employe> getToutEmploye() {
		// TODO Auto-generated method stub
		return null;
	}

	public Employe getEmployeViaId(int id) {
		// TODO Auto-generated method stub
		return null;
	}

	public IDaoEmploye getEmployeDao() {
		return employeDao;
	}

	public void setEmployeDao(IDaoEmploye employeDao) {
		this.employeDao = employeDao;
	}
	
	
}
